//对外暴露一个函数存储token

export const setToken = (token) =>{
    localStorage.setItem('TOKEN',token)
}
//
//得到token
export const getToken = ()=>{
    return localStorage.getItem('TOKEN')
}

//清除token
export const removeToken =()=>{
    localStorage.removeItem('TOKEN');
 }